//
//  JYJMusicPlayerView.h
//  HappyListen
//
//  Created by 冀永金 on 16/9/6.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseButton.h"

typedef void(^Block)(UIButton *button);
typedef void(^block)(UISlider *slider);
typedef void(^blockAction)(UIButton *buttonOfImage);
@interface JYJMusicPlayerView : UIView
@property (nonatomic, strong) UIImageView *bigBackImage;
@property (nonatomic, strong) UIImageView *buttonBackImage;
@property (nonatomic, strong) UIImageView *sliderBackImage;
@property (nonatomic, strong) UIImageView *sliderBackImageTwo;
@property (nonatomic, strong) UIView *sliderView;

@property (nonatomic, strong) UIButton *pauseButton;
@property (nonatomic, strong) UIButton *lastButton;
@property (nonatomic, strong) UIButton *nextButton;
@property (nonatomic, strong) UISlider *slider;
@property (nonatomic, strong) UILabel *progressTimeLabel;
@property (nonatomic, strong) UILabel *totalTimeLabel;
@property (nonatomic, strong) UIButton *buttonOfsupport;
@property (nonatomic, strong) UIButton *buttonOfDownLoad;
@property (nonatomic, strong) UIButton *buttonOfCollect;
@property (nonatomic, strong) UIButton *buttonOfMenu;

@property (nonatomic, copy) Block handlePause;
@property (nonatomic, copy) Block handleLastSong;
@property (nonatomic, copy) Block handleNextSong;
@property (nonatomic, copy) block handleSlider;

@property (nonatomic, copy) blockAction handleMenu;
@property (nonatomic, copy) blockAction handleSupport;
@property (nonatomic, copy) blockAction handleCancleSupport;
@property (nonatomic, copy) blockAction handleDownLoad;


- (void)pause:(Block)pause lastSong:(Block)lastSong nextSong:(Block)nextSong;
- (void)slider:(block)slider;

- (void)menu:(blockAction)handleMenu support:(blockAction)support cancleSuppot:(blockAction)cancleSuppot downLoad:(blockAction)downLoad ;

@end
